﻿using System;
using System.Collections.Generic;

namespace smp.ButterflyCakes.Models.ViewModels.Schedule
{
    public class Schedule
    {
        public Schedule()
        {
            var selectedMonth = DateTime.Today;
            CurrentMonth = selectedMonth.ToString("MMMM");
            CurrentYear = selectedMonth.ToString("yyyy");

            Months = new List<string>
                         {
                             "January",
                             "February",
                             "March",
                             "April",
                             "May",
                             "June",
                             "July",
                             "August",
                             "September",
                             "October",
                             "November",
                             "December"
                         };

            Years = new List<string>();
            for(var i = 2012; i < 2022; i++)
            {
                Years.Add(i.ToString());
            }
        }

        public string CurrentMonth { get; private set; }

        public List<string> Months { get; private set; }

        public string CurrentYear { get; private set; }

        public List<string> Years { get; private set; } 
    }
}
